package com.party.core.service.mall;

import com.party.core.model.mall.MallGoodsFavorite;
import com.party.core.service.IBaseService;

/**
 * 商品收藏
 * Created by yifeng
 *
 * @date 2018/4/27 0027
 * @time 下午 18:54
 */
public interface IMallGoodsFavoriteService extends IBaseService<MallGoodsFavorite> {
    /**
     * 获取唯一的数据
     *
     * @param mallGoodsFavorite 商品数据数据
     * @return
     */
    MallGoodsFavorite getUnique(MallGoodsFavorite mallGoodsFavorite);

    Long findByGoodsId(String goodsId);

    void deleteByGoods(String goodsId);
}
